package com.guowei.jiecloudbackstage.order.service.impl;

import com.guowei.jiecloudbackstage.order.entity.Atv;
import com.guowei.jiecloudbackstage.order.mapper.AtvMapper;
import com.guowei.jiecloudbackstage.order.service.AtvService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author ym
 * @since 2021-04-15
 */
@Service
public class AtvServiceImpl extends ServiceImpl<AtvMapper, Atv> implements AtvService {

    @Autowired
    private AtvMapper om;

    @Override
    public List<Atv> getAll() {
        return om.getAll();
    }

    @Override
    public List<Atv> getOrderById(Atv order) {
        return om.getOrderById(order);
    }

    @Override
    public int orderCounts() {
        return om.orderCounts();
    }

}
